<div class="ratingGroups view">
<h2><?php  echo __d('ratings','Rating Group');?></h2>
	<dl>
		<dt><?php echo __d('ratings','Id'); ?></dt>
		<dd>
			<?php echo h($ratingGroup['RatingGroup']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __d('ratings','Name'); ?></dt>
		<dd>
			<?php echo h($ratingGroup['RatingGroup']['name']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __d('ratings','Status'); ?></dt>
		<dd>
			<?php echo h($ratingGroup['RatingGroup']['status']); ?>
			&nbsp;
		</dd>
	</dl>
	
	<div class="related">
		<h3><?php echo __d('ratings','Related Ratings');?></h3>
		<?php if (!empty($ratingGroup['Rating'])):?>
		<table cellpadding = "0" cellspacing = "0">
		<tr>
			<th><?php echo __d('ratings','Id'); ?></th>
			<th><?php echo __d('ratings','Name'); ?></th>
			<th><?php echo __d('ratings','Status'); ?></th>
			<th><?php echo __d('ratings','Rating Group Id'); ?></th>
			<th class="actions"><?php echo __d('ratings','Actions');?></th>
		</tr>
		<?php
			$i = 0;
			foreach ($ratingGroup['Rating'] as $rating): ?>
			<tr>
				<td><?php echo $rating['id'];?></td>
				<td><?php echo $rating['name'];?></td>
				<td><?php echo $rating['status'];?></td>
				<td><?php echo $rating['rating_group_id'];?></td>
				<td class="actions">
					<?php echo $this->Html->link(__d('ratings','View'), array('controller' => 'ratings', 'action' => 'view', $rating['id'])); ?>
					<?php echo $this->Html->link(__d('ratings','Edit'), array('controller' => 'ratings', 'action' => 'edit', $rating['id'])); ?>
					<?php echo $this->Form->postLink(__d('ratings','Delete'), array('controller' => 'ratings', 'action' => 'delete', $rating['id']), null, __d('ratings','Are you sure you want to delete # %s?', $rating['id'])); ?>
				</td>
			</tr>
		<?php endforeach; ?>
		</table>
	<?php endif; ?>
	
		<div class="actions">
			<ul>
				<li><?php echo $this->Html->link(__d('ratings','New Rating'), array('controller' => 'ratings', 'action' => 'add'));?> </li>
			</ul>
		</div>
	</div>
	
</div>
<?php echo $this->element('/menu/left')?>